FROM anapsix/alpine-java:8u201b09_jdk
MAINTAINER lambo lambo@lambo.com

WORKDIR /var/app

ADD maven-manager-web-*.jar /var/app/maven-manager-web.jar
ADD bootstrap.sh /var/app/bootstrap.sh
ADD maven.xml /var/app/maven.xml

EXPOSE 8880

RUN chmod +x /var/app/bootstrap.sh
ENTRYPOINT ["/var/app/bootstrap.sh"]